import sys

class CountLine:
	@staticmethod
	def Count(lines):
		linecount = 0
		for line in lines:
			if line.strip():
				linecount =  linecount + 1
		return linecount



